home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-08-10 | 1.6 KB | 72 lines | [TEXT/MPS ] |
- (*
- File: Scrap.mod
-
- Contains: Scrap Manager Interfaces.
-
- Version: Technology: System 7.5
- Package: Universal Interfaces 2.0 in “MPW Latest” on ETO #17
-
- Copyright: © 1984-1995 by Apple Computer, Inc.
- All rights reserved.
-
- Bugs?: If you find a problem with this file, use the Apple Bug Reporter
- stack. Include the file and version information (from above)
- in the problem description and send to:
- Internet: apple.bugs.applelink.apple.com
- AppleLink: APPLE.BUGS
-
- *)
-
- (*$TAGS-*)
- (*$CALLING PASCAL*)
- MODULE Scrap;
-
- IMPORT SYSTEM, Types;
-
- (* $PUSH*)
- (* $ALIGN MAC68K*)
- (* $LibExport+*)
-
- TYPE
- ScrapStuff* = RECORD
- scrapSize*: LONGINT;
- scrapHandle*: Types.Handle;
- scrapCount*: INTEGER;
- scrapState*: INTEGER;
- scrapName*: Types.StringPtr;
- END;
-
- PScrapStuff* = POINTER TO ScrapStuff;
- ScrapStuffPtr* = POINTER TO ScrapStuff;
-
-
- PROCEDURE InfoScrap*(): ScrapStuffPtr;
- (*$IF NOT GENERATINGCFM*)
- INLINE PASCAL $A9F9;
- (*$END*)
- PROCEDURE UnloadScrap*(): LONGINT;
- (*$IF NOT GENERATINGCFM*)
- INLINE PASCAL $A9FA;
- (*$END*)
- PROCEDURE LoadScrap*(): LONGINT;
- (*$IF NOT GENERATINGCFM*)
- INLINE PASCAL $A9FB;
- (*$END*)
- PROCEDURE GetScrap*(hDest: Types.Handle; theType: Types.ResType; VAR offset: LONGINT): LONGINT;
- (*$IF NOT GENERATINGCFM*)
- INLINE PASCAL $A9FD;
- (*$END*)
- PROCEDURE ZeroScrap*(): LONGINT;
- (*$IF NOT GENERATINGCFM*)
- INLINE PASCAL $A9FC;
- (*$END*)
- PROCEDURE PutScrap*(length: LONGINT; theType: Types.ResType; source: (*ΔΔUNIVΔΔ*) Types.Ptr): LONGINT;
- (*$IF NOT GENERATINGCFM*)
- INLINE PASCAL $A9FE;
- (*$END*)
-
- (* $ALIGN RESET*)
- (* $POP*)
-
- END Scrap.
-